#ifndef RIGHTWIDGHT_H
#define RIGHTWIDGHT_H

#include <QPixmap>
#include "LoginWidget_global.h"
#include "../BaseWidgets/FramelessWidget.h"


namespace UserManagementSystem {
class LOGINWIDGET_EXPORT RightWidght:public FramelessWidget
{
    Q_OBJECT
public:
    RightWidght(QWidget* parent=nullptr);

    ///@brief 加载背景图片
    void LoadBackGround(const QString& path );

private:
    ///@brief 绘制圆角
    virtual void paintEvent(QPaintEvent *event) override;


private:
    QPixmap m_background;
};
}


#endif // RIGHTWIDGHT_H
